SCSI Driver Identification Parameter Block
You use the SCSI driver identification parameter block with theSCSICreateRefNumXref
,SCSILookupRefNumXref
, andSCSIRemoveRefNumXref
functions to exchange device driver registration information. The SCSI driver identification parameter block is defined by theSCSIDriverPB
data type.
struct SCSIDriverPB { SCSIPBHdr SInt16 scsiDriver; UInt16 scsiDriverFlags; DeviceIdent scsiNextDevice; }; typedef struct SCSIDriverPB SCSIDriverPB;
Field Description
SCSIPBHdr
- A macro that includes the SCSI Manager parameter block header, described on page 4-21.
scsiDriver
- The driver reference number of the device driver associated with this device identification record.
scsiDriverFlags
- Driver information flags. These flags are not interpreted by the XPT but can be used to provide information about the driver to other clients. The following flags are defined:
scsiDeviceSensitive
Only the device driver should access this device. SCSI utilities and other applications that bypass drivers should check this flag before accessing a device.scsiDeviceNoOldCallAccess
This driver or device does not accept original SCSI Manager requests.scsiNextDevice
- The device identification record of the next device in the driver registration list.